package com.geekchique.runningbuddy.util;

import java.util.Calendar;
import java.util.List;

import android.content.Context;
import android.database.Cursor;

import com.geekchique.runningbuddy.model.Jog;

public interface IDBHelper {

	public static final String TAG = "DBHelper";
	
	public void createJoggingEntriesDB(Context ctx);
    
    public void close();

    public void addJogEntry(Jog entry);
    
    public void deleteJogEntry(long Id);

    public List<Jog> fetchAllJogEntries();
    
    public List<Jog> fetchAllTodaysJogEntries();
    
    public List<Jog> fetchAllThisMonthsJogEntries(Calendar calendar);
    
    public Jog fetchJogEntry(long Id);

    public void updateJogEntry(long Id, Jog entry);

	public Cursor getCursorOfAllJogs();

	public List<Jog> fetchAllJogEntries(Integer day, Integer month, Integer year);

}
